package com.kuang;

import com.kuang.framework.shiro.service.SysPasswordService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class KuangStudyApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        // System.out.println("===================" + new SysPasswordService().encryptPassword("superkuang","admin123","333333"));
        // KuangStudy关掉ping检查
        System.setProperty("druid.mysql.usePingMethod", "false");

        SpringApplication.run(KuangStudyApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  【狂神天机平台】启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " 写字楼里写字间，写字间里程序员；   \n" +
                " 程序人员写程序，又拿程序换酒钱。      \n" +
                " 酒醒只在网上坐，酒醉还来网下眠；        \n" +
                " 酒醉酒醒日复日，网上网下年复年。         \n" +
                " ''-'   `'-'    `-..-'              ");
    }
}